package com.nf.entity;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class TestMoney {
    public TestMoney() {
        System.out.println("创建一个TestMoney实例");
    }

    private float money;

    public float getMoney() {
        return money;
    }
    
    public void setMoney(float money) {
        System.out.println("创建一个money实例");
        this.money = money;
    }
}
